#ifndef PRODUCTSECTIONMODEL_H
#define PRODUCTSECTIONMODEL_H

#include "standard-database-model.h"

class ProductSectionModel : public StandardDatabaseModel
{
    Q_OBJECT
public:
    explicit ProductSectionModel(QObject *parent = 0);

    enum ProductSectionColumns
    {
        NameColumn,
        PriceColumn,
        VatColumn,
        QuantityColumn
    };

    ValueResult *canSetField(QVariant value, int column, int row);

public slots:
    void initialize();
    void setupQueries();

private slots:
    void setupInternalModel();
};

#endif // PRODUCTSECTIONMODEL_H
